package com.cherrypt.api.core.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cherrypt.api.core.dao.SeriesTorrentDao;
import com.cherrypt.api.core.service.SeriesTorrentService;
import com.cherrypt.api.model.dataobject.SeriesTorrent;
import com.cherrypt.api.model.dataobject.Torrent;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: intent
 * @Date: 19-10-28 下午1:14
 */
@Service
public class SeriesTorrentServiceImpl extends ServiceImpl<SeriesTorrentDao, SeriesTorrent> implements SeriesTorrentService {
    @Override
    public List<Torrent> getTorrentListBySid(int sid) {
        return this.baseMapper.selectTorrentListBySid(sid);
    }
}
